const express = require("express");
const router = express.Router();
const customersController = require("../controllers/customersController");

router.get("/", customersController.getList);
router.post("/", customersController.add);
router.put("/:id", customersController.update);
router.delete("/:id", customersController.remove);
router.get("/:id/balance", customersController.getBalanceDetails);

module.exports = router;
